# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :serliazers.py
# @Time      :2022/10/20 17:19
# @Author    :吕华龙
from .models import *
from rest_framework.serializers import ModelSerializer


# 交易所的序列化器
class ExchangeSer(ModelSerializer):
    class Meta:
        model = ExchangeModel
        fields = "__all__"


# 货币的序列化器
class CurrencySer(ModelSerializer):
    class Meta:
        model = CurrencyModel
        fields = "__all__"
